package com.rfid.project.model;

import javax.persistence.*;

import biz.core.IdEntity;

import java.util.Date;

@Entity
public class ProjectTaskFinishApply extends IdEntity {

	// 申请人
	@ManyToOne
	@JoinColumn(name = "ApplyPersonID")
	private People applyPerson;

	// 申请说明
	private String applyDescription;

	// 申请时间
	private Date applyTime;

	// 审核人
	@ManyToOne
	@JoinColumn(name = "CheckPersonID")
	private People checkPerson;

	// 审核意见
	private String checkComment;

	// 审核时间
	private Date checkTime;

	// 状态
	private String status;

	// 项目任务人员
	@ManyToOne
	@JoinColumn(name = "ProjectTaskPersonID")
	private ProjectTaskPerson projectTaskPerson;
	
	//撤销时间
	private Date annulDate;

	public People getApplyPerson() {
		return applyPerson;
	}

	public void setApplyPerson(People applyPerson) {
		this.applyPerson = applyPerson;
	}

	public String getApplyDescription() {
		return applyDescription;
	}

	public void setApplyDescription(String applyDescription) {
		this.applyDescription = applyDescription;
	}

	public Date getApplyTime() {
		return applyTime;
	}

	public void setApplyTime(Date applyTime) {
		this.applyTime = applyTime;
	}

	public People getCheckPerson() {
		return checkPerson;
	}

	public void setCheckPerson(People checkPerson) {
		this.checkPerson = checkPerson;
	}

	public String getCheckComment() {
		return checkComment;
	}

	public void setCheckComment(String checkComment) {
		this.checkComment = checkComment;
	}

	public Date getCheckTime() {
		return checkTime;
	}

	public void setCheckTime(Date checkTime) {
		this.checkTime = checkTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public ProjectTaskPerson getProjectTaskPerson() {
		return projectTaskPerson;
	}

	public void setProjectTaskPerson(ProjectTaskPerson projectTaskPerson) {
		this.projectTaskPerson = projectTaskPerson;
	}

	public Date getAnnulDate() {
		return annulDate;
	}

	public void setAnnulDate(Date annulDate) {
		this.annulDate = annulDate;
	}

}
